Xbasic

A5_CONTROL_DELETE_IMAGE Function

Syntax

V a5_control_delete_image(P obj [,C type ])

Arguments

obj

Pointer

type

A pointer to an image control on a form.

Description

The A5_CONTROL_DELETE_IMAGE() function displays a dialog that allows you to confirm the deletion of an image file in an image reference field.

Example

The following script was placed under a button on a form with an image reference field named Image1.

a5_control_delete_image(parentform:Image1.this)

Limitations

Desktop applications only.

See Also